package view;

/**
 * MenuBoundary is the boundary that handles interaction with the player when the game first starts.
 * @author Group 20
 *
 */

public class MenuBoundary 
{
	/**
	 * The users choices in the menu when the game starts.
	 * @return the user input
	 */
	public int menu()
	{
		String input = "";
		
		input = Input.getSelection("Menu - Please select", 1, "1. Automatically add 3 players and start game", "2. Manually add players and start game", "3. Exit");
		
		if (input == null)
		return 3;
				
		else
		return Character.getNumericValue(input.charAt(0));
	}
}